﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CreatingTypes
{
    internal class _01Expression_bodied
    {
        //表达式方法-->取代了大括号和return
        public int Foo(int x) => x * 2;
    }
}
